<?php

	$user_id = $getPhyDetails['user_id'];
	
	$bodyType = $getPhyDetails['body_type_id'];

	$eyeColor = $getPhyDetails['eye_color_id'];

	$hairColor = $getPhyDetails['hair_color_id'];

	$skinColor = $getPhyDetails['skin_color_id'];

	$height = $getPhyDetails['height_id'];

?>
<script type="text/javascript" src="includes/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="includes/javascript/tiny.js"></script>

<span class=".arial-12pt darkGray floatleft" style=" margin-left: 24px;">Enter your physical details.</span>
<div class="clear"></div>

<table width="99%" cellspacing="5">

	<form method="POST" action="physicalDetailsProcess.php">
		
		<tr><td colspan="5"></td></tr><tr><td colspan="5"></td></tr>

		<tr>
		
			<td class="arial-10pt darkGray">How tall are you (height):</td>

			<td colspan="4">
			
				<select id="height" name="height" value="<?php echo $height;?>">

					<option>Select Height</option>

					<?php
						$selectHeight = mysql_query("select * from height");

						while($getHeight = mysql_fetch_array($selectHeight))
						{
					?>

						<option><?php echo $getHeight['height'];?></option>
					<?php
						}
					?>

				</select>
			
			</td>


		</tr>

		<tr><td colspan="5">
		<input type="hidden" name="user_id" id="user_id" value="<?php echo $user_id;?>">
		</td></tr><tr><td colspan="5"></td></tr>

		<tr class="arial-10pt">

		
			<td class="arial-10pt darkGray">Your body type :</td>

			<?php
				if ($bodyType == '1')
				{
			?>

			<td><input type="radio" name="bodyType" id="slender" value="1" CHECKED>Slender</td>

			<td><input type="radio" name="bodyType" id="healthy" value="2">Healthy</td>

			<td><input type="radio" name="bodyType" id="athleleticToned" value="3">Athleletic/toned</td>

			<td><input type="radio" name="bodyType" id="heavy" value="4">Heavy</td>

			<?php 
				}
				else if($bodyType =='2')
				{
			?>

			<td><input type="radio" name="bodyType" id="slender" value="1">Slender</td>

			<td><input type="radio" name="bodyType" id="healthy" value="2" CHECKED>Healthy</td>

			<td><input type="radio" name="bodyType" id="athleleticToned" value="3">Athleletic/toned</td>

			<td><input type="radio" name="bodyType" id="heavy" value="4">Heavy</td>

			<?php 
				}
				else if($bodyType =='3')
				{
			?>

			<td><input type="radio" name="bodyType" id="slender" value="1">Slender</td>

			<td><input type="radio" name="bodyType" id="healthy" value="2">Healthy</td>

			<td><input type="radio" name="bodyType" id="athleleticToned" value="3" CHECKED>Athleletic/toned</td>

			<td><input type="radio" name="bodyType" id="heavy" value="4">Heavy</td>

			<?php 
				}
				else if($bodyType =='4')
				{
			?>

			<td><input type="radio" name="bodyType" id="slender" value="1">Slender</td>

			<td><input type="radio" name="bodyType" id="healthy" value="2">Healthy</td>

			<td><input type="radio" name="bodyType" id="athleleticToned" value="3">Athleletic/toned</td>

			<td><input type="radio" name="bodyType" id="heavy" value="4" CHECKED>Heavy</td>

			<?php 
				}
			?>


		
		</tr>

		<tr><td colspan="5"></td></tr><tr><td colspan="5"></td></tr>

		<tr class="arial-10pt">
		
			<td class="arial-10pt darkGray">Eye color :</td>

			<?php
				if ($eyeColor == '1')
				{
			?>

			<td><input type="radio" name="eyeColor" id="black" value="1" CHECKED>Black</td>

			<td><input type="radio" name="eyeColor" id="grey" value="2">Grey</td>

			<td><input type="radio" name="eyeColor" id="hazelBrown" value="3">Hazel/brown</td>

			<td><input type="radio" name="eyeColor" id="green" value="4">Green</td>

			<?php 
				}
				else if($eyeColor =='2')
				{
			?>

			<td><input type="radio" name="eyeColor" id="black" value="1">Black</td>

			<td><input type="radio" name="eyeColor" id="grey" value="2" CHECKED>Grey</td>

			<td><input type="radio" name="eyeColor" id="hazelBrown" value="3">Hazel/brown</td>

			<td><input type="radio" name="eyeColor" id="green" value="4">Green</td>

			<?php 
				}
				else if($eyeColor =='3')
				{
			?>

			<td><input type="radio" name="eyeColor" id="black" value="1">Black</td>

			<td><input type="radio" name="eyeColor" id="grey" value="2">Grey</td>

			<td><input type="radio" name="eyeColor" id="hazelBrown" value="3" CHECKED>Hazel/brown</td>

			<td><input type="radio" name="eyeColor" id="green" value="4">Green</td>

			<?php 
				}
				else if($eyeColor =='4')
				{
			?>

			<td><input type="radio" name="eyeColor" id="black" value="1">Black</td>

			<td><input type="radio" name="eyeColor" id="grey" value="2">Grey</td>

			<td><input type="radio" name="eyeColor" id="hazelBrown" value="3">Hazel/brown</td>

			<td><input type="radio" name="eyeColor" id="green" value="4" CHECKED>Green</td>

			<?php 
				}
			?>


		
		</tr>

		<tr><td colspan="5"></td></tr><tr><td colspan="5"></td></tr>

		<tr class="arial-10pt">
		
			<td class="arial-10pt darkGray">Hair color :</td>

			<?php
				if ($hairColor == '1')
				{
			?>

			<td><input type="radio" name="hairColor" id="black" value="1" CHECKED>Black</td>

			<td><input type="radio" name="hairColor" id="brown" value="2">Brown</td>

			<td><input type="radio" name="hairColor" id="lightBrown" value="3">Light brown</td>

			<td><input type="radio" name="hairColor" id="shadedColored" value="4">Shaded/colored</td>

			<?php 
				}
				else if($hairColor =='2')
				{
			?>

			<td><input type="radio" name="hairColor" id="black" value="1">Black</td>

			<td><input type="radio" name="hairColor" id="brown" value="2" CHECKED>Brown</td>

			<td><input type="radio" name="hairColor" id="lightBrown" value="3">Light brown</td>

			<td><input type="radio" name="hairColor" id="shadedColored" value="4">Shaded/colored</td>

			<?php 
				}
				else if($hairColor =='3')
				{
			?>

			<td><input type="radio" name="hairColor" id="black" value="1">Black</td>

			<td><input type="radio" name="hairColor" id="brown" value="2">Brown</td>

			<td><input type="radio" name="hairColor" id="lightBrown" value="3" CHECKED>Light brown</td>

			<td><input type="radio" name="hairColor" id="shadedColored" value="4">Shaded/colored</td>

			<?php 
				}
				else if($hairColor =='4')
				{
			?>

			<td><input type="radio" name="hairColor" id="black" value="1">Black</td>

			<td><input type="radio" name="hairColor" id="brown" value="2">Brown</td>

			<td><input type="radio" name="hairColor" id="lightBrown" value="3">Light brown</td>

			<td><input type="radio" name="hairColor" id="shadedColored" value="4" CHECKED>Shaded/colored</td>

			<?php 
				}
			?>

		
		</tr>

		<tr><td colspan="5"></td></tr><tr><td colspan="5"></td></tr>

		<tr class="arial-10pt">
		
			<td class="arial-10pt darkGray">Skin color :</td>

			<?php
				if ($skinColor == '1')
				{
			?>

			<td><input type="radio" name="skinColor" id="Fair" value="1" CHECKED>Fair</td>

			<td><input type="radio" name="skinColor" id="grey" value="2">Very fair</td>

			<td><input type="radio" name="skinColor" id="hazelBrown" value="3">Wheatish</td>

			<td><input type="radio" name="skinColor" id="green" value="4">Wheatish brown</td>

			<td><input type="radio" name="skinColor" id="green" value="5">Dark</td>

			<?php 
				}
				else if($skinColor =='2')
				{
			?>

			<td><input type="radio" name="skinColor" id="Fair" value="1">Fair</td>

			<td><input type="radio" name="skinColor" id="grey" value="2" CHECKED>Very fair</td>

			<td><input type="radio" name="skinColor" id="hazelBrown" value="3">Wheatish</td>

			<td><input type="radio" name="skinColor" id="green" value="4">Wheatish brown</td>

			<td><input type="radio" name="skinColor" id="green" value="5">Dark</td>

			<?php 
				}
				else if($skinColor =='3')
				{
			?>

			<td><input type="radio" name="skinColor" id="Fair" value="1">Fair</td>

			<td><input type="radio" name="skinColor" id="grey" value="2">Very fair</td>

			<td><input type="radio" name="skinColor" id="hazelBrown" value="3" CHECKED>Wheatish</td>

			<td><input type="radio" name="skinColor" id="green" value="4">Wheatish brown</td>

			<td><input type="radio" name="skinColor" id="green" value="5">Dark</td>

			<?php 
				}
				else if($skinColor =='4')
				{
			?>

			<td><input type="radio" name="skinColor" id="Fair" value="1">Fair</td>

			<td><input type="radio" name="skinColor" id="grey" value="2">Very fair</td>

			<td><input type="radio" name="skinColor" id="hazelBrown" value="3">Wheatish</td>

			<td><input type="radio" name="skinColor" id="green" value="4" CHECKED>Wheatish brown</td>

			<td><input type="radio" name="skinColor" id="green" value="5">Dark</td>

			<?php 
				}
				else if($skinColor =='5')
				{
			?>

			<td><input type="radio" name="skinColor" id="Fair" value="1">Fair</td>

			<td><input type="radio" name="skinColor" id="grey" value="2">Very fair</td>

			<td><input type="radio" name="skinColor" id="hazelBrown" value="3">Wheatish</td>

			<td><input type="radio" name="skinColor" id="green" value="4">Wheatish brown</td>

			<td><input type="radio" name="skinColor" id="green" value="5" CHECKED>Dark</td>


			<?php 
				}
			?>
 
		
		</tr>

		<tr><td colspan="5"></td></tr><tr><td colspan="5"></td></tr>

		<tr class="arial-10pt">
		
			<td class="arial-10pt darkGray" valign="top">Additional information:</td>

			<td colspan="4">
				
				<textarea name="Additional_info" id="Additional_info"><?php echo $getPhyDetails['Additional_info'];?></textarea>

			</td>
			
		</tr>

		<tr><td colspan="5"></td></tr><tr><td colspan="5"></td></tr>

		<tr class="arial-10pt">
		
			<td>&nbsp</td>

			<td colspan="4">
				
				<input type="submit" value="" name="cUnmSubmit" id="cUnmSubmit">

				<input type="reset" name="reset" value="Reset" class="textblue font12" style="background:#ffffff none no-repeat 0 0; border: none;">
			
			</td>
		
		</tr>


	</form>

</table>
